import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.jsx";
import "./index.css";
import "@/assets/styles/index.scss";
import { Provider } from "react-redux";
import { BrowserRouter } from "react-router-dom";
import { message } from "antd";
import store from "@/store/index.js";
// 引入md样式
import "md-editor-rt/lib/style.css";
window.$message = message;
ReactDOM.createRoot(document.getElementById("root")).render(
  <React.StrictMode>
    <BrowserRouter>
      <Provider store={store}>
        <App />
      </Provider>
    </BrowserRouter>
  </React.StrictMode>
);
